package dongshi.daddy;

import java.util.ServiceLoader;

public class SayHiTestMain {

    public static void main(String[] args) {
        ServiceLoader<SayHi> load = ServiceLoader.load(SayHi.class);
        for (SayHi sayHi : load) {
            sayHi.sayHi();
        }
    }
}
